/*
    Copyright (C) 2010-2011 AmigaVR
    
    This file is part of AmigaVR.
    Written by Laügt Franz <znarf94@gmail.com>

    AmigaVR is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    AmigaVR is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with AmigaVR.  If not, see <http://www.gnu.org/licenses/>.

*/

#ifndef _FLASH_H
#define _FLASH_H

void	minit ( void );
uint8_t mread_byte ( uint16_t addr );
uint16_t mread_word ( uint16_t addr );
uint32_t mread_dword ( uint16_t addr );
uint8_t mwrite_byte ( uint16_t addr , uint8_t data );

#endif
